#pragma once

#include "RenderObject.h"
#include <iostream>

using namespace std;

class Plane
	: public RenderObject
{
private:
	Vector3d normal;
public:
	Plane(Vector3d pos,Vector3d norm);
	Plane();
	~Plane(void);
	TraceResult collision(const Ray &ray);
	friend class Cube;
};

